<template>
	<view style="background-color: #edf1f4">
		 <mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" :down="downOption" :up="upOption">
		<view class="Item"style="margin-top: 30rpx;">
			<view class="item-link item-content">
				<!--<div class="item-media"></div>-->
				<view class="item-inner">
					<view class="item-title-row"style="background-color: #6D8AF9;border: 0px red solid;
					height:130rpx;color: #fff;border-radius: 20rpx;">
						<view class="item-title" style="float: left;color: #fff">{{model.资产名称}}</view>
						<view v-if="statuindex!=4">
						<view style="float: left;width: 45%;
						font-size: 30rpx;height: 80rpx;line-height: 80rpx;
						text-align: right;"
						@tap="isanAsset($event)" :data-id="model.assetId"
						>
						<view style="float: right;margin-right: 20rpx;">查看详情></view>
						<view style="float: right;margin-right: 10rpx;background-color: #fff;
						color:#6D8AF9;height: 40rpx;line-height: 40rpx;text-align: center;
						width: 80rpx;border-radius: 10rpx;margin-top: 20rpx;font-size: 25rpx;">在用</view>		
						</view>
						</view>
						<view class="item-title" style="float: left;color: #fff;margin-top: -25rpx;
						">{{assetCodeTitle}}</view>
					</view>
					<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode="">使用部门：</view><view class="span">{{model.使用部门}}</view>
					</view>
					<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode="">使用人：</view><view class="span">{{model.使用人}}</view>
					</view>
					<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode="">资产位置：</view><view class="span">{{model.资产位置}}</view>
					</view>
					<view class="item-text">
							<view class="ispan" style="color:#6D8AF9 !important;font-weight: bold;"><image class="item-icon-bt" mode="">盘点信息</view>
					</view>
					<view class="item-text">
						<view class="ispan"><image  class="item-icon-bt" mode=""></image>盘点人</view>
						<view class="span">{{model.盘点人}}</view>
					</view>
					<view v-if="model.盘点状态=='已盘'">
						<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode=""></image>盘点日期</view>
							<view class="span">{{model.盘点日期}}</view>
						</view>
					</view>
					<view v-else>
						<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode=""></image>盘点日期</view>
							<view class="span">{{model.盘点日期}}</view>
						</view>
					</view>
			
					<view class="item-text">
						<view class="ispan"><image class="item-icon-bt" mode=""></image>资产类别</view>
						<view class="span">{{model.资产类别}}</view>
					</view>			
					<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode="">规格型号：</view><view class="span">{{model.规格型号}}</view>
					</view>
					<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode="">数量：</view><view class="span">{{model.数量}}</view>
					</view>
					
					<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode="">资产名称：</view><view class="span">{{model.资产名称}}</view>
					</view>
					<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode="">盘点位置：</view><view class="span">{{model.盘点位置}}</view>
					</view>
					<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode="">实际使用人：</view><view class="span">{{model.盘点使用人}}</view>
					</view>
					
					<view class="item-text">
							<view class="ispan"><image  class="item-icon-bt" mode=""></image>盘点结果：</view><view class="span">
								<picker @change="bindPickerChange" :value="statuindex" :range="statuArray">
									 <view class="uni-input">{{statuArray[statuindex]}}</view>
								</picker>
							</view>
					</view>
					<view v-if="statuindex==2">
						<view class="item-text">
								<view class="ispan"><image class="item-icon-bt" mode=""></image>异常类型：</view><view class="span">
									位置异常
								</view>
						</view>
					</view>
					<view class="item-text">
							<view class="ispan"><image class="item-icon-bt" mode="">盘点备注：</view>
							<view class="span">{{model.盘点备注}}</view>							
					</view>
					<view class="item-text"
					 style="height: 210rpx;margin-top:80rpx !important;background-color: #fff;">
						<view class="ispan"><image class="item-icon-bt" mode=""></image>盘点照片：</view>
						<view class="span">
							
							<image :src="getvalues()" class="item-icon" 
							mode=""></image>
						</view>		
					</view>
			
				</view>
	
			</view>
		</view>
		</mescroll-body>
		
	</view>
</template>

<script>
	import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue"
	import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue"
	
	import MescrollMixin from "@/components/mescroll-uni/mescroll-mixins.js";
	import MescrollMoreItemMixin from "@/components/mescroll-uni/mixins/mescroll-more-item.js";
	import {openComDB,executeSQL,dropSQL} from "@/pages/API/sqllite/sqllite.js";
	var self;
	export default {
		mixins: [MescrollMixin], // 使用mixin
		components: {
						MescrollBody
						,
						MescrollUni
					},
		data() {
			return {
				downOption: {
					native:false,
					beforeEndDownScroll: 1000,
					textInOffset:"下拉刷新",
					textOutOffset:"释放刷新",
					textLoading:"加载中..."
					},
				// 上拉加载的配置(可选, 绝大部分情况无需配置)
				upOption: {
					page: {
						size: 6 // 每页数据的数量,默认10
					},
					noMoreSize: 3, // 配置列表的总数量要大于等于5条才显示'-- END --'的提示
					empty: {
						tip: '暂无相关数据'
					},
					toTop:{
						src: "../../static/images/totop.png",
						offset : 50,
						duration : 300,
						zIndex: 9990,
						right: 20,
						bottom: 120,
						safearea: false,
						width: 72,
						radius: "50%",
						left: null
					},
				},
				model: {},
				documentmodel:{},
				loginName: "",
				currAddress: "上海市",
				DocumentId: "",
				AssetCode: "",
				images: [],
				srcstring: "../../static/images/icon-paizhao.png",
				srcsys: "../../static/images/icon-sys-hui.png",
				scrbt:"../../static/images/icon-bitian.png",
				assetCode:"",
				assetCodeTitle:"",
				stockDate:"确认盘点后自动更新",
				optiontype:"0",
				storeId:"",
				storeName:"",
				statuArray: ['未盘','正常', '异常', '盘亏','盘盈'],
				statuResultArray: ['位置异常', '名称异常', '标签异常'],
				statuindex:0,
				statuResultindex:0,
				assetDescription:"",
				assetUsingName:"",
					
			}
		},
		onBackPress(options) {
			return false;
		 }, 
		onNavigationBarButtonTap() {
			/*if(this.documentmodel.StockCheckResult=="2"){
				uni.showToast({
					icon: 'none',
					title: '单据已结束'
				});
			}else*/
			{
				self=this;
				const newDocumentId = uni.getStorageSync('DocumentId');
				const userdata = uni.getStorageSync('userinfo');
				
				{
						var updateSQL = 'select * from buildDetailTable where 资产编码 ="'+this.assetCodeTitle+'" and 盘点单编码="'+newDocumentId+'"';
						console.log(updateSQL);  
						executeSQL('nfc', updateSQL, res => {  
							if(res.length==0){
								if(this.statuindex==2){
										console.log("盘盈处理");

										var sql2 = 'select * from buildAsset where 资产编码="' + self.assetCodeTitle + '"';
										executeSQL('nfc', sql2, res2 => {
											if (res2.length == 0) {
												uni.showToast({
													icon: 'none',
													title: '资产'+self.assetCodeTitle+'不在盘点单和资产数据内'
												});
											}else{
												var sqlInsert = "insert into buildDetailTable values('";
												sqlInsert += res2[0].Id + "','";
												sqlInsert +=res2[0].Id + "','";
												sqlInsert += "" + "','";
												sqlInsert += "" + "','";
												sqlInsert += res2[0].资产编码 + "','";
												sqlInsert += "" + "','";
												sqlInsert += newDocumentId + "','";
												sqlInsert += res2[0].资产编码 + "','";
												sqlInsert +=res2[0].资产名称 + "','";
												sqlInsert += res2[0].资产小类 + "','";
												sqlInsert += res2[0].规格型号 + "','";
												sqlInsert +=res2[0].数量 + "','";
												sqlInsert += res2[0].使用部门 + "','";
												sqlInsert += res2[0].使用人 + "','";
												sqlInsert += "" + "','";
												sqlInsert += res2[0].资产位置 + "','";
												sqlInsert += self.storeName + "','";
												sqlInsert += self.assetDescription + "','";
												sqlInsert +=userdata.loginName + "','";
												sqlInsert += "已盘" + "','";
												sqlInsert += "盘盈" + "','";
												sqlInsert +="2020-09-16" + "','";
												sqlInsert += "" + "'";
												sqlInsert += ')';
												console.log(sqlInsert);
												executeSQL('nfc', sqlInsert, res4 => {
																            
												})
												//var daipanshul=parseInt(this.documentmodel.未盘)-1;
												var ypshul=parseInt(this.documentmodel.盘盈)+1; 
												var updateSQL = 'update MybuildTable set StockCheckResult="1",正常="'+ypshul+'" where Code="'+newDocumentId+'"';
													console.log(updateSQL);  
													executeSQL('nfc', updateSQL, res => {  
														console.log("更新列表数据");
														uni.setStorage({
															key: 'documentRefresh',
															data: '1'
														});
														uni.navigateTo({
															url: '../stock/StockDocumentDetail?id=' + newDocumentId,
															animationType:'slide-in-left',
															    animationDuration: 400
														});		
													})
											}
										});
										
										
									}else{
										uni.showToast({
											icon: 'none',
											title: '资产编码'+this.assetCodeTitle+'不在盘点单内'
										});
									}
								
								return;
							}else{
								const newAssetCode = uni.getStorageSync('AssetCode');
								const userdata = uni.getStorageSync('userinfo');
								var SaveStockDocumentCode = uni.getStorageSync('SaveStockDocumentCode');
								if(SaveStockDocumentCode.indexOf(newDocumentId)==-1){
									SaveStockDocumentCode=SaveStockDocumentCode+newDocumentId;
									uni.setStorage({
										key: 'SaveStockDocumentCode',
										data: SaveStockDocumentCode
									});
								}
								var stockresultname="";
								if(this.statuindex==0){
									stockresultname="正常";
								}else if(this.statuindex==1){
									stockresultname="异常";
								}else if(this.statuindex==2){
									stockresultname="盘盈";
								}else if(this.statuindex==3){
									stockresultname="盘亏";
								}
								var stockDesc=this.assetDescription;
								 if(this.statuindex==1){
									if(this.statuResultindex==0){
										stockDesc="位置异常 "+stockDesc;
									}else if(this.statuResultindex==1){
										stockDesc="名称异常 "+stockDesc;
									}else if(this.statuResultindex==2){
										stockDesc="标签异常 "+stockDesc;
									}
								}
								//assetUsingName
								var updateSQL = 'update buildDetailTable set 盘点位置="'+this.storeName+'",PdStorePlaceId="'+this.storeId+'",盘点人="'+userdata.LoginName+'",盘点日期="2020-09-16",盘点状态= "已盘",盘点结果="'+stockresultname+'",盘点备注="'+stockDesc+'",盘点使用人="'+this.assetUsingName+'" where 资产编码 ="'+newAssetCode+'" and 盘点单编码="'+newDocumentId+'"';  
								console.log(updateSQL);  
								executeSQL('nfc', updateSQL, res => {  
									console.log("更新明细数据")  
								})
								if(this.optiontype=="1"){
									var updateSQL = 'update MybuildTable set StockCheckResult="1" where Code="'+newDocumentId+'"';
									console.log(updateSQL);  
									executeSQL('nfc', updateSQL, res => {  
										console.log("更新列表数据");
										uni.navigateBack({
										
										});
									})
								}else{
									var daipanshul=parseInt(this.documentmodel.未盘)-1; 
									var ypshul=parseInt(this.documentmodel.正常)+1; 
									var updateSQL = 'update MybuildTable set StockCheckResult="1",未盘="'+daipanshul+'",正常="'+ypshul+'" where Code="'+newDocumentId+'"';
										console.log(updateSQL);  
										executeSQL('nfc', updateSQL, res => {  
											console.log("更新列表数据");
											uni.setStorage({
												key: 'documentRefresh',
												data: '1'
											});
											console.log(123345);
											uni.navigateTo({
												url: '../stock/StockDocumentDetail?id=' + newDocumentId,
												animationType:'slide-in-left',
												    animationDuration: 400
											});		
										})
									
								}
							}
						})
						
					}
				
				
			//待盘
			
			
			}
		},
		onLoad(options) {
			//首先将实例指针保存到全局变量 self 方便在异步请求中访问实例本身
			
			self = this;
			const newDocumentId = uni.getStorageSync('DocumentId');
			const userinfo = uni.getStorageSync("userInfo");
			self.optiontype=options.type;
			console.log(JSON.parse(userinfo));
			this.loginName = JSON.parse(userinfo).loginName;
			if(options.AssetCode!=undefined){
				
			uni.setStorage({
				key: 'AssetCode',
				data: options.AssetCode
			});
			
			/*
			this.DocumentId = newDocumentId;
			uni.request({
				url:uni.getStorageSync("localurl")+'/ServerAPI/Document_Get_Detail_List',
				data: {
					DocumentId:newDocumentId,
					pageSize: 500,
					_r: "813efd8e-1ac0-4cc8-8c35-3d502f680353",
					pageIndex: 0,
					"资产编码":options.AssetCode
				},
				success: (res) => {
					console.log(res);
					if (res.data.successed == true) {
						var datalist1 = [];
						var newrows = JSON.parse(res.data.rows);
						for (var i = 0; i < newrows.length; i++) {
							var valueRows = newrows[i].toString().split(',');
							var datarow = {};
							for (var j = 0; j < res.data.columns.length; j++) {
								datarow[res.data.columns[j].字段名] = valueRows[j];
							}
							datalist1.push(datarow);
						}
			
						if (datalist1.length > 0) {
							
							if (options.type == "1") {
								self.model = datalist1[0];								
								self.assetCode=self.model.资产编码;
								self.assetCodeTitle=self.model.资产编码;
								self.model.资产名称=self.model.资产名称;
								self.model.规格型号=self.model.规格型号;
								self.model.数量=self.model.数量;
								self.model.使用部门=self.model.使用部门;
								self.model.使用人=self.model.使用人;
								self.model.资产位置=self.model.资产位置;
								self.statuindex=1;
							
							   
							   if(datalist1[0]["盘点结果"]=="异常"){
								   self.statuindex=2;
								   if(datalist1[0]["盘点备注信息"]=="位置异常"){
									   self.statuResultindex=0;
								   }
								   //盘点备注信息
							   }
							   if(datalist1[0]["盘点结果"]=="盘亏"){
									self.statuindex=3;
							   }
							   if(datalist1[0]["盘点结果"]=="盘盈"){
							   		self.statuindex=4;
							   }
							   if(datalist1[0]["盘点结果"]=="正常"){
		
							   }
							} else {
								self.model = datalist1[0];
								self.model.规格型号=self.model.规格型号;
								self.assetCodeTitle=self.model.资产编码;
								
								self.statuindex=1;
														
								
								if(datalist1[0]["盘点结果"]=="异常"){
																   self.statuindex=2;
																   if(datalist1[0]["盘点备注信息"]=="位置异常"){
																	   self.statuResultindex=0;
																   }
																   //盘点备注信息
								}
								if(datalist1[0]["盘点结果"]=="盘亏"){
																	self.statuindex=3;
								}
								if(datalist1[0]["盘点结果"]=="盘盈"){
										self.statuindex=4;
								}
								if(datalist1[0]["盘点结果"]=="正常"){
										
								}
							}
						}
					
						if(res.data.responseState!=""){
							self.srcstring = "http://43.254.46.191:7923/"+res.data.responseState;
						}
					
					}
				},
				fail: (err) => {
					console.log(err);
					//  请求失败,隐藏加载状态
					this.mescroll.endErr()
				}
			})
			*/

			let StockDocument = uni.getStorageSync("StockDocument");
			self.documentmodel=JSON.parse(StockDocument);
			
			let currstockAsset= uni.getStorageSync("currstockAsset");
			self.model=JSON.parse(currstockAsset);
			if (options.type == "1") {
				self.assetCode=self.model.assetCode;
				self.assetCodeTitle=self.model.assetCode;
				self.model["资产名称"]=self.model.assetName;
				self.model["规格型号"]=self.model.model;
				self.model["资产类别"]=self.model.assetCategoryName;
				self.model["数量"]=self.model.assetCount;
				self.model["使用部门"]=self.model.usingOrgName;
				self.model["使用人"]=self.model.usingUserName;
				self.model["资产位置"]=self.model.assetPositionName;
				self.model["盘点人"]=self.model.realityCheckUserName;
				self.model["盘点日期"]=self.model.checkDate;
				self.model["盘点位置"]=self.model.checkPositionName;
				self.model["盘点使用人"]=self.model.realityUsingUser;
				self.model["盘点备注"]=self.model.checkDescription;
				
				self.statuindex=1;
											
				
				if(self.model["checkResult"]=="异常"){
				   self.statuindex=2;
				   if(self.model["checkDescription"]=="位置异常"){
					   self.statuResultindex=0;
				   }
					//盘点备注信息
				}
				if(self.model["checkResult"]=="盘亏"){
					self.statuindex=3;
				}
				if(self.model["checkResult"]=="盘盈"){
					self.statuindex=4;
				}
				if(self.model["checkResult"]=="正常"){
						
				}
				self.curroldpdjg=self.model["checkResult"];
			}else{
				
				self.model["规格型号"]=self.model.model;
				self.assetCodeTitle=self.model.assetCode;
				if(self.model["assetPositionName"].toString()==self.CurrentStoreId){
					self.statuindex=0;
				}else{
					self.statuindex=1;
					self.statuResult="位置异常";
					self.assetDescription="位置异常";
				}
				self.curroldpdjg=self.model["checkResult"];
			}
			//self.srcstring
				let imgurl=	self.model["attachFiles"];
				if(imgurl!=null && imgurl!=""){
					self.srcstring=imgurl;
				}
				self.isPhoto=	self.model["isPhoto"];
				self.mescroll.endSuccess(1);
				/*
			
		this.DocumentId = newDocumentId;
		let querydata={
				"pageSize": 1,
				"current": 10,
				manageUser:JSON.parse(userinfo).id,
				documentIds:[self.documentmodel.id],
				assetCode:options.AssetCode,
			};
					
		 this.requeststo_tool({
		 	url:'/app/v1/assetCheck/getCheckDetailPageData',
		 	type:'POST', 
		 	data:querydata
		 }).then(res => {
		 	console.log(res);		
		 		if(res!=undefined){
						}else{
							if (res2.data.code == 2000) {
								let list=res2.data.data.records;
								var mydata = [];
								for (var i = 0; i < list.length; i++) {
									var datarow=list[i];
									self.model = datarow;
									if (options.type == "1") {
										self.assetCode=self.model.assetCode;
										self.assetCodeTitle=self.model.assetCode;
										self.model.资产名称=self.model.assetName;
										self.model.规格型号=self.model.model;
										self.model.数量=self.model.assetCount;
										self.model.使用部门=self.model.usingOrgName;
										self.model.使用人=self.model.usingUserName;
										self.model.资产位置=self.model.assetPositionName;
										self.statuindex=1;
																	
										
										if(datarow["checkResult"]=="异常"){
										   self.statuindex=2;
										   if(datarow["checkDescription"]=="位置异常"){
											   self.statuResultindex=0;
										   }
											//盘点备注信息
										}
										if(datarow["checkResult"]=="盘亏"){
											self.statuindex=3;
										}
										if(datarow["checkResult"]=="盘盈"){
											self.statuindex=4;
										}
										if(datarow["checkResult"]=="正常"){
												
										}
										self.curroldpdjg=datarow["checkResult"];
									}else{
										
										self.model.规格型号=self.model.model;
										self.assetCodeTitle=self.model.assetCode;
										if(datarow["StorePlaceId"].toString()==self.CurrentStoreId){
											self.statuindex=0;
										}else{
											self.statuindex=1;
											self.statuResult="位置异常";
											self.assetDescription="位置异常";
										}
										self.curroldpdjg=datarow["checkResult"];
									}
									//self.srcstring
										let imgurl=	datarow["ImgUrl"];
										if(imgurl!=null && imgurl!=""){
											self.srcstring=imgurl;
										}
										self.isPhoto=	datarow["isPhoto"];
																	
								}
									self.mescroll.endSuccess(mydata.length);
									//设置列表数据
									self.goods = self.goods.concat(mydata); //追加新数据
									setTimeout(() => {
										self.mescroll.endSuccess(mydata.length)
									}, 20)
							}else{
								
									self.mescroll.endSuccess(0);
										//设置列表数据
									self.goods = []; //追加新数据
										setTimeout(() => {
									self.mescroll.endSuccess(0)
										}, 20)
														
								
							}
							
						}
		 }).catch(err => {
		   
		   
		 });
			
			*/
			
			/*
			uni.request({
				url:uni.getStorageSync("localurl")+'/ServerAPI/APPUNIDocument_List_Query',
				data: {
					PdloginName: self.loginName,
					pageSize: 9999,
					_r: "813efd8e-1ac0-4cc8-8c35-3d502f680353",
					pageIndex: 0,
					Id:newDocumentId
				},
				success: (res) => {
					console.log(res);
					if (res.data.successed == true) {
						var mydata =[];
			
						var newrows = JSON.parse(res.data.rows);
						
						for (var i = 0; i < newrows.length; i++) {
							var valueRows = newrows[i].toString().split(',');
							var datarow = {};
							for (var j = 0; j < res.data.columns.length; j++) {
								//alert(_data.columns[j].字段名)
								datarow[res.data.columns[j].字段名] = valueRows[j];
							}
							
							mydata.push(datarow);
							
						}
						//self.dataList=mydata;
						
						if (mydata.length > 0) {
							self.documentmodel = mydata[0];
							console.log(self.documentmodel);
						}
					}
				},
				fail: (err) => {
					console.log(err);
					//  请求失败,隐藏加载状态
					this.mescroll.endErr()
				}
			})
			*/
			}else{
			
			}

			
		},
		methods: {
			getvalues(){
				
					//console.log('https://app.ztlib.com:9000/'+value[0].realUrl);
					if(this.srcstring=="../../static/images/icon-paizhao.png"){
						return this.srcstring;
					}else{
						return uni.getStorageSync("localurlfileurl")+this.srcstring;
					}
					
				
			},
			isanAsset(e){
				//console.log(e.currentTarget.dataset.id);
				console.log(112222);
				uni.navigateTo({
					url: '../asset/asset?Id=' + e.currentTarget.dataset.id,
				});
			},
			bindPickerChange: function(e) {
				console.log(111);
			            this.statuindex = e.target.value
			        },
			bindResultPickerChange: function(e) {
				console.log(111);
			            this.statuResultindex = e.target.value
			        },
			
			signscanCode(){
				self = this;
				uni.scanCode({
					onlyFromCamera: true,
					success: function(qrres) {
						//var mymodel = JSON.parse(qrres.result);
						console.log(qrres.result);
						const myDocumentId = uni.getStorageSync('DocumentId');
						
						var sql='select * from buildDetailTable where 盘点单编码="'+myDocumentId+'" and 资产编码="'+qrres.result+'"';
						console.log(sql);
						executeSQL('nfc',sql, res => {
							console.log(res.length);
								if(res.length==0){
									uni.showToast({
										icon: 'none',
										title: '扫描资产不在盘点单内'
									});
									}else{
										console.log(this.optiontype=="1");
										if(this.optiontype=="1"){
											self.model = res[0];
											self.assetCode=self.model.资产编码;
											self.assetCodeTitle=self.model.资产编码;
											console.log(res[0]);
											if(res[0].ImgUrl!=""){
												self.scrbt=res[0].ImgUrl;
											}
										}else{
											self.assetCode=res[0].资产编码;
											self.assetCodeTitle=res[0].资产编码;
										}
										console.log(self.assetCode);
									}
							})
						
						}
				});
				}

		}
			
	}
</script>

<style>
	.item-icon-bt{
		width: 30upx;
		height: 30upx;
	}
	.item-icon-sys {
		width: 40upx;
		height: 40upx;
	}
	.item-icon {
		width: 100upx;
		height: 100upx;
	}

	.Item {
		border-radius: 16rpx;
		background: #fff;
	}

	.item-text {
		border-bottom: 1px solid #e6e6e6;
		margin-right:  .8rem;
margin-left:  .8rem;
	}

	.item-text .span {
		display: inline-block;
		width: 50%;
		float: right;
		margin-bottom: 10rpx;
		text-align: right;
		color: #000000;
	}

	.item-text .ispan {
		font-style: normal;
		width: 43%;
		display: inline-block;
		margin-bottom: 10rpx;
		color: #9E9CA5;
	}
	
	.Item input{
		color: #BEBEBE;
		font-size:30rpx;
	}
　　.inputff{
		color: #BEBEBE;
		font-size:30rpx;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

　　

	.item-content {
		padding-left: 0;
	}

	.item-title .ispan {
		font-size: 30rpx;
		width: auto;
		height: auto;
	}

	.item-title {
		font-size: 30rpx;
		color: #454545;
		width: 50%;
		height: 80rpx;
		line-height: 80rpx;
		margin-left: 30rpx;
	}

	.item-title-row {
		background-image: none;
		margin-right: .8rem;
		border-bottom: 1px solid #e6e6e6;
		background-color: #F4F5F6;
		margin-left: .8rem;
	}

	.item-link .item-inner {
		padding-right: 0;

	}

	.page-content {
		padding-top: 0;
	}

	.item-text {
		font-size: 30rpx;
		color: #454545;
		padding: 20rpx 0;
		padding-left: 0rpx;
		line-height: 1.2;
	}

	.btext {
		font-weight: normal;
		color: #F79D63;
	}

	.scroll-view_H {
		white-space: nowrap;

		.scroll-view-item_H {
			display: inline-block;
			width: 100%;
			height: 100px;
		}

		.uni-bg-red {
			background: red;
		}

		.uni-bg-green {
			background: green;
		}

		.uni-bg-blue {
			background: blue;
		}
	}

	.yp-Item-span {
		position: absolute;
		width: 50rpx;
		background-color: #BEBEBE;
		font-size: 25rpx;
		padding: 0 10rpx;
		margin-right: 10rpx;
		text-align: center;
		margin-left: 35rpx;
		margin-top: 24rpx;
		color:#FFFFFF;
		border-radius:8rpx;
	}
	.wp-Item-span {
		position: absolute;
		width: 50rpx;
		background-color: #6D8AF9;
		font-size: 25rpx;
		padding: 0 10rpx;
		margin-right: 10rpx;
		text-align: center;
		margin-left: 35rpx;
		margin-top: 24rpx;
		color:#FFFFFF;
		border-radius:8rpx;
	}
</style>